package com.androdot;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.Button;

public class Apropos extends Activity {
	
	final String mimeType = "text/html";
    final String encoding = "utf-8";
    
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.apropos);
        
        final WebView wvAbout = (WebView) findViewById(R.id.wvTextAbout);
        wvAbout.loadData(getString(R.string.text_a_propos), mimeType, encoding);
        
        final Button fermer = (Button) findViewById(R.id.apropos_fermer);
        fermer.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				finish();
			}
		});
	}
}
